<!-- 简化版登录注册 -->
<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8" />
  <title>登录注册</title>
  <script defer src="../scripts/main.js"></script>
</head>
<body>
  <h2>注册</h2>
  <input id="regUser" placeholder="用户名" />
  <input id="regEmail" placeholder="邮箱" />
  <input id="regPass" type="password" placeholder="密码" />
  <button onclick="register()">注册</button>

  <h2>登录</h2>
  <input id="loginUser" placeholder="用户名" />
  <input id="loginPass" type="password" placeholder="密码" />
  <button onclick="login()">登录</button>
  <div id="status"></div>
</body>
</html>
